use std::time::Duration;

struct A {
    timeout: Option<Duration>,
}

fn main() {
    let mut a = A {
        timeout: Some(Duration::from_secs(100)),
    };

    let b = a.timeout;

    a.timeout = Some(Duration::from_secs(101));

    assert_eq!(b, a.timeout)
}
